package backend.project.gym_management.service.impl;

import backend.project.gym_management.service.EmployeeService;
import backend.project.gym_management.mapper.EmployeeMapper;
import backend.project.gym_management.pojo.dto.EmployeeIntroDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public EmployeeIntroDTO getEmployeeIntro(Long eid) {
        return employeeMapper.getEmployeeIntro(eid);
    }
}
